﻿<%@ Page Language="C#"  MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="UploadCV.aspx.cs" Inherits="UploadCV" %>
<%@ Register Assembly="Facebook.Web" Namespace="Facebook.Web.FbmlControls" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="SectionPlaceHolder" Runat="Server" >

    <!-- Buttons to navigate between edit profile sections -->
    <asp:button runat="server" onclick="editProfileClick" text="Edit Profile" CssClass="content_btn" BackColor="#627AAD"
                BorderStyle="None" BorderWidth="0px" Font-Underline="True" ForeColor="White" />
    <asp:button runat="server" onclick="editMultimediaClick" text="Edit Multimedia" CssClass="content_btn" BackColor="#627AAD"
                BorderStyle="None" BorderWidth="0px" Font-Underline="True" ForeColor="White" />
    <asp:button runat="server" onclick="editCurriculumVitaeClick" text="Edit CV" CssClass="content_btn" BackColor="White" Height="30"
                BorderStyle="None" BorderWidth="0px" Font-Underline="True" ForeColor="Black" />

</asp:Content>



<asp:Content ID="Content4" ContentPlaceHolderID="ProfilePlaceHolder" Runat="Server" >

    <!-- You are currently editing your profile box. -->
    <div style="background-color: #EDEFF4;border-style: double;border-width: 1px;color: Black">
         &nbsp;
         <asp:image runat="server" id="editImage" width="16" height="16"  imageurl="Images/editmode.png" />
         &nbsp;
         <asp:label runat="server" text="You are currently editing your profile." />
         &nbsp;
    </div>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" Runat="Server" >


    <!-- Panel to show if there is not a CV uploaded. -->  
    <asp:panel runat="server" id="externalCVPanel" >

        <b><h2>Share you CV with the Lutefisk Community</h2></b>
        
        <p>
            A curriculum vitae (CV, also spelled curriculum vitæ) provides an overview of a person's life and qualifications. Start networking and upload yours now!
        </p>
        <br /><br />
        
        <cc1:IFrame ID="externalCVForm" Src="about:blank"  FrameBorder="false" runat="server" Width="500" Height="300"  IncludeFbSig="false" Scrolling="Auto" />

    </asp:panel>
    
    <!-- Panel to show if there is a CV uploaded. -->
    <asp:panel runat="server" id="deleteCVPanel" >
    
        <h2>Delete Curriculum Vitae</h2>
        You currently have a Curriculum Vitae uploaded. To upload a new Curriculum Vitae you must delete your current Curriculum Vitae.
        
        <p>
            Click the button below to view or delete your Curriculum Vitae.
            <br /><br />
            <asp:Button ID="viewButton" runat="server" Text="View" OnClick="viewClick" /> &nbsp; 
            <asp:Button ID="deleteButton" runat="server" Text="Delete" OnClick="deleteClick" /> &nbsp;
        </p>

    </asp:panel>


</asp:Content>


<asp:Content ID="Content3" ContentPlaceHolderID="SideBarPlaceHolder" Runat="Server">

    

</asp:Content>
